package bdqn.t09.service;

import bdqn.t09.pojo.AsUser;
import org.apache.ibatis.annotations.Param;

public interface AsUserService {

    int deleteByPrimaryKey(Long id);

    int insert(AsUser record);

    int insertSelective(AsUser record);

    AsUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AsUser record);

    int updateByPrimaryKey(AsUser record);

    //用户登录
    AsUser login(String usercode, String userpassword);

    // 修改密码
    int updatePassword(AsUser asUser);
}
